negotiator.boaframework.acceptanceconditions.anac2010
Class AC_IAMHaggler2010
java.lang.Object
negotiator.boaframework.AcceptanceStrategy
negotiator.boaframework.acceptanceconditions.anac2010.AC_IAMHaggler2010
public class AC_IAMHaggler2010
- extends AcceptanceStrategy
This is the decoupled Acceptance Conditions for IAMcrazyHaggler (ANAC2010).
The code was taken from the ANAC2010 IAMHaggler and adapted to work within the BOA framework.
Decoupling Negotiating Agents to Explore the Space of Negotiation Strategies
T. Baarslag, K. Hindriks, M. Hendrikx, A. Dirkzwager, C.M. Jonker
- Version:
- 18/12/11
- Author:
- Alex Dirkzwager, Mark Hendrikx
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AC_IAMHaggler2010
public AC_IAMHaggler2010()
- Empty constructor for the BOA framework.
AC_IAMHaggler2010
public AC_IAMHaggler2010(NegotiationSession negoSession,
OfferingStrategy strat)
throws java.lang.Exception
- Throws:
java.lang.Exception
init
public void init(NegotiationSession negoSession,
OfferingStrategy strat,
OpponentModel opponentModel,
java.util.HashMap<java.lang.String,java.lang.Double> parameters)
throws java.lang.Exception
- Description copied from class:
AcceptanceStrategy
- Standard initialize method to be called after using the empty constructor.
Most of the time this method should be overridden for usage by the decoupled
framework.
- Overrides:
init in class AcceptanceStrategy
- Parameters:
negoSession - state of the negotiation.strat - of the agent.parameters - of the acceptance strategy.
- Throws:
java.lang.Exception - thrown when initializing the acceptance strategy fails.
determineAcceptability
public Actions determineAcceptability()
- Description copied from class:
AcceptanceStrategy
- Determines to either to either accept or reject the opponent's bid
or even quit the negotiation.
- Specified by:
determineAcceptability in class AcceptanceStrategy
- Returns:
- one of three possible actions: Actions.Accept, Actions.Reject, Actions.Break.